package com.zhdl.hardware.modules.repository;

import com.zhdl.hardware.modules.entity.DeviceProcess;
import org.springframework.data.jpa.repository.JpaRepository;

public interface DeviceProcessRepository extends JpaRepository<DeviceProcess, Integer> {

//    @Query(value = "select * from device_process where exists(select deviceId from device_info where deviceId=device_process.mId)",nativeQuery = true)
//    @Query(value = "select dp from DeviceProcess dp where dp.mId in (select di.mId from DeviceInfo di)")

}
